class CreateTbPublishes < ActiveRecord::Migration
  def change
    create_table :tb_publishes do |t|
      t.string :ISBN
      t.string :pubname
      t.string :pubaddr
      t.integer :Zip_code #邮政编码
      t.string :first_pubtel  #联系电话
      t.string :second_pubtel
      t.string :pubperson

      t.timestamps null: false
    end
  end
end
